package com.qyhl.module_practice.score.mine.bill;


import com.qyhl.webtv.commonlib.entity.civilized.PracticeScoreBillBean;

import java.util.List;

public class PracticeScoreBillPresenter implements PracticeScoreBillContract.PracticeScoreBillPresenter {
    private PracticeScoreBillActivity mView;
    private PracticeScoreBillModel mModel;

    PracticeScoreBillPresenter(PracticeScoreBillActivity mView) {
        this.mView = mView;
        this.mModel = new PracticeScoreBillModel(this);
    }

    @Override
    public void getList(String volId, String year, String month) {
        mModel.getList(volId, year, month);
    }

    @Override
    public void setList(List<PracticeScoreBillBean> beanList) {
        mView.setList(beanList);
    }

    @Override
    public void setError(String msg) {
        mView.setError(msg);
    }
}
